using System;
using System.Collections.Generic;
using System.Web;

namespace Toast.Core.Interfaces
{
    public interface IContent
    {
        string Id { get; }

        string FileName { get; set; }

        ICompressionStrategy Compression { get; set; }

        InjectAt InjectAt { get; set; }

        bool TryConstructFrom(string from, out IContent result);

        IInjectionFormatter GetFormatter(string packageKey);

        string HttpContentType { get; }

        Func<bool> InjectIf { get; set; }
    }
}